package com.example.wangyi.mvp.ui.fragment.home;

import android.content.Context;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.fragment.app.FragmentActivity;
import androidx.recyclerview.widget.RecyclerView;

import com.example.wangyi.mvp.model.bean.HomeBean;

import java.util.List;

public class HomeAdapter extends RecyclerView.Adapter {

    private HomeBean.DataDTO data;
    private Context context;
    private final List<HomeBean.DataDTO.BannerDTO> banner;
    private final List<HomeBean.DataDTO.BrandListDTO> brandList;

    public HomeAdapter(HomeBean.DataDTO data, Context context) {
        this.data = data;
        this.context = context;
        banner = data.getBanner();
        brandList = data.getBrandList();
    }

    @NonNull
    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 2;
    }
}
